package com.hy.ximalaya;

import com.hy.ximalaya.service.Ximalaya;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Author: hy
 * @Date: Created in 2021/2/1/21:47
 * @Description: 这是一个配置类 ，配置类就是对应Spring的xml 配置文件；
 * @Version: 1.0
 */
//@Configuration
//@EnableConfigurationProperties(XimalayaProperties.class)
public class XimalayaConfiguration {

//    @Autowired
//    private XimalayaProperties ximalayaProperties;

//    @Bean
//    public Ximalaya ximalaya() {
//        return new Ximalaya(ximalayaProperties.getAlbumId(), ximalayaProperties.getPageSize(), ximalayaProperties.getOutputPath());
//    }


}
